/**
 * This is the sevice class for those actions about user
 *
 */
package cn.fanyamin.business;
import java.util.List;

import cn.fanyamin.domain.Module;
import cn.fanyamin.domain.User;



/**
 * @author walter.fan@gmail.com on 07/18/06
 *
 */
public interface UserService extends ICRUD<Integer, User>  {
       
       List<Module> getFavoriteModules(int userID);
       User getUser(String username, String password);
       String createToken(String fromAddr);
       Boolean checkToken(String token);
}
